﻿@model SchoolProject2012.Areas.Eleve.Models.GROUPE
@{
    ViewBag.Title = "DetailsGroupe";
}
@using SchoolProject2012.Langue
<fieldset>
    <legend>@Resources.groupe</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.LIBGROUPE)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LIBGROUPE)
    </div>
    <h2>@Resources.persGroup</h2>
    <ul>
    @foreach (var item in Model.ELEVE)
    {
        <li>@Html.Raw(item.PRENOMPERS+" "+item.NOMPERS)</li>
    }
    </ul>
</fieldset>
<p>
    @Html.ActionLink(Resources.inscriptionGroupe, "Inscription", new { id = ViewBag.projet, idGroupe = Model.IDGROUPE, langue = ViewBag.langue }, new { @ckass = "link" }) 
</p>
